package com.njuse.seecjvm.instructions.store;

import com.njuse.seecjvm.instructions.base.Index8Instruction;
import com.njuse.seecjvm.runtime.StackFrame;

public class ISTORE extends Index8Instruction {


    /**
     * TODO：实现这条指令
     */
    @Override
    public void execute(StackFrame frame) {
      int temp=frame.getOperandStack().popInt();
      frame.getLocalVars().setInt(index, temp);
    }
}
